//初始化样式
*,:after,:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
}
.tab-active{
    font-weight: 500 !important;
    >a{
        color: #333!important;
    }
}
a{
    color: #ff5c00;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0);
    outline: none;
    cursor: pointer;
    -webkit-transition: color .3s;
    transition: color .3s;
}
// 左边图片
.leftImg{
    width: 375px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    .banner{
        height: 100%;
        background-image: url(../images/login/banner.jpg);
        background-size: cover;
        background-position: 50%;
    }
}
// 中间布局
.miLayout{
    margin-left: 375px;
    height: 100%;
    overflow: auto;
    position: relative;
    min-height: 100vh;
    padding-bottom: 40px;
    .header{
        padding: 20px;
        overflow: hidden;
        // 左边的logo和字
        .title{
            float: left;
            height: 40px;
            font-size: 26px;
            font-weight: 500;
            color: #333;
            line-height: 40px;
            >img{
                width: 40px;
                height: 40px;
                vertical-align: top;
            }
        }
        // 右边的字
        .nav{
            float: right;
            cursor: pointer;
            a{
                margin-left: 10px;
                margin-right: 10px;
                display: inline-block;
                height: 40px;
                font-weight: 400;
                color: #838383;
                line-height: 40px;
                &:hover{
                    color: #ff7700;
                }
            }
            >div:nth-of-type(1){
                vertical-align: middle;
                display: inline-block;
                margin-left: 10px;
                margin-right: 10px;
                height: 14px;
                width: 0;
                border-right: 1px solid #ddd;
            }
            >div:nth-of-type(2){
                margin-left: 10px;
                margin-right: 10px;
                display: inline-block;
                height: 40px;
                font-size: 14px;
                font-weight: 400;
                color: #838383;
                line-height: 40px;
                &:hover .language {
                    color: #ff7700;
                }
                &:hover .dropDown{
                    height: 98px;
                }
                .language{
                    cursor: pointer;
                    >span{
                        // position: absolute;
                        // top: 38px;
                        display: inline-block;
                        border: 5px solid transparent;
                        margin-left: 5px;
                        border-top-color: #838383;
                        transition: .3s;
                        transform-origin: 50% 18%;
                    }
                    &:hover span{
                        transform: rotate3d(0, 0, 1, 180deg);
                        border-top-color: #ff7700;
                    }
                }
                .dropDown {
                    height:0;
                    position: absolute;
                    text-align: left;
                    background-color: #fff;
                    background-clip: padding-box;
                    border-radius: 4px;
                    padding: 0;
                    overflow: hidden;
                    left: 1017px;
                    top: 65px;
                    box-shadow:0 5px 29px 0 #{'hsl(0deg 0% 64% / 20%)'};
                    li{
                        text-align: center;
                        padding: 4px 14px;
                        &:hover{
                            background-color: #fff3e6;
                        }
                    }
                }
            }
        }
    }
    //中间
    .container {
        padding-top: 20px;
        position: relative;
        text-align: center;

        .card {
            text-align: left;
            display: inline-block;
            box-sizing: border-box;
            overflow: hidden;
            border-radius: 4px;
            padding: 40px 45px;
            position: relative;
            margin: 0 auto 80px;
            min-width: 450px;
            box-shadow: 0 20px 50px 0 #{'hsl(0deg 0% 64% / 10%)'};

            .switch {
                cursor: pointer;
                position: absolute;
                right: 0;
                top: 0;
                width: 64px;
                height: 64px;
                opacity: .4;
                transition: all .3s cubic-bezier(.645, .045, .355, 1);
                border-color: #ff5c00 #ff5c00 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
                border-style: solid;
                border-width: 32px;
                background-size: cover;

                &:hover {
                    opacity: 1;
                }
                &:hover .scan{
                    display: block;
                }
                .switchIcon {
                    position: absolute;
                    font-size: 36px;
                    top: -22px;
                    right: -22px;
                    width: 36px;
                    height: 36px;
                    line-height: 1;

                    >em {
                        font-size: 36px;
                        color: white;
                    }
                }
                >.scan{
                    color: white;
                    display: none;
                    position: absolute;
                    background-color: #ff5c00;
                    top: -20px;
                    right: 35px;
                    width: 96px;
                    padding: 5px 15px;
                    &::after{
                        content: '';
                        position: absolute;
                        right: -14px;
                        width: 0;
                        top: 9px;
                        height: 0;
                        border: 7px solid transparent;
                        border-left-color: #ff5c00;
                        ;
                    }
                }
            }

            .conBox {
                width: 360px;
                color: rgba(0, 0, 0, .65);
                line-height: 1.5;
                position: relative;
                overflow: hidden;
                zoom: 1;

                .tabList {
                    position: relative;
                    border-bottom: none;
                    margin: 0 0 10px;

                    >.title {
                        position: relative;
                        display: inline-block;

                        .lText,
                        .rText {
                            display: inline-block;
                            padding: 0 0 4px;
                            margin: 0 20px 0 0;
                            height: 41px;
                            line-height: 41px;

                            >a {
                                font-size: 22px;
                                font-weight: 400;
                                color: #bbb;
                            }
                        }
                    }

                    >.bar {
                        height: 4px;
                        border-radius: 2px;
                        display: block;
                        transform: translate3d(0px, 0px, 0px);
                        width: 44px;
                        background-color: #ff5c00;
                        position: absolute;
                        z-index: 1;
                    }
                }

                form {
                    .formCon {
                        padding: 20px 2px 0;
                        position: relative;
                        margin-left: -5px;
                        margin-right: -5px;
                        padding-left: 5px;
                        padding-right: 5px;

                        .email {
                            position: relative;
                            width: 100%;
                            border-radius: 4px;
                            border: 1px solid rgba(0, 0, 0, 0);
                            background: rgb(249, 249, 249);

                            // background-color: #fcf2f3;
                            >input {
                                width: 100%;
                                padding: 30px 20px 10px;
                                height: 60px;
                                border: none;
                                font-size: 17px;
                                color: #333;
                                line-height: 20px;
                                background: rgba(0, 0, 0, 0);
                            }

                            >label {
                                cursor: text;
                                position: absolute;
                                left: 20px;
                                top: 20px;
                                height: 20px;
                                font-weight: 400;
                                font-size: 17px;
                                color: rgba(0, 0, 0, .4);
                                line-height: 20px;
                                transition: top .15s cubic-bezier(.4, 0, .2, 1),
                                    font-size .15s cubic-bezier(.4, 0, .2, 1),
                                    color .15s cubic-bezier(.4, 0, .2, 1);
                                max-width: calc(100% - 20px);
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                overflow: hidden;
                            }
                        }

                        .eye {
                            cursor: pointer;
                            position: absolute;
                            right: 0;
                            top: 35px;

                            >svg {
                                color: rgba(0, 0, 0, .25);
                                transition: all .3s cubic-bezier(.645, .045, .355, 1);
                                vertical-align: middle;
                                margin: 10px 20px;
                                width: 20px;
                                height: 20px;
                            }
                        }

                        .msg {
                            margin-top: 10px;
                            font-size: 12px;
                            color: #999;
                            line-height: 20px;
                            display: none;
                        }
                    }

                    button {
                        opacity: .4;
                        cursor: pointer;
                        position: relative;
                        display: inline-block;
                        vertical-align: top;
                        text-align: center;
                        border: none;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        padding: 0 20px;
                        font-size: 18px;
                        font-weight: 400;
                        color: #333;
                        background: #f9f9f9;
                        line-height: 60px;
                        height: 60px;
                        border-radius: 4px;
                        transition: all .3s cubic-bezier(.645, .045, .355, 1);
                        color: #fff;
                        background-color: #ff5c00;
                        width: 100%;
                        margin-top: 20px;
                        margin-bottom: 10px;

                        &:hover {
                            color: #fff;
                            background-color: #ff7e29;
                        }
                    }

                    .bottomText {
                        .forget {
                            float: left;
                        }

                        .phone {
                            float: right;
                        }
                    }

                    .other {
                        margin-top: 110px;

                        .oWay {
                            text-align: center;
                            font-size: 17px;
                            font-weight: 400;
                            color: #aaa;
                            line-height: 40px;
                        }

                        .icons {
                            height: 46px;
                            overflow: hidden;
                            margin-top: 10px;

                            .iconList {
                                text-align: center;
                                width: 100%;

                                >div {
                                    display: inline-block;
                                    width: 46px;
                                    margin: 0 12px;

                                    >a {
                                        display: block;
                                        margin: 0 auto;
                                        font-size: 46px;
                                        width: 46px;
                                        height: 46px;
                                        border-radius: 23px;
                                        overflow: hidden;

                                        >svg {
                                            vertical-align: top;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    //copyright
    .copyright {
        padding: 0 20px;
        text-align: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        left: 0;
        right: 0;
        position: absolute;
        bottom: 20px;
        color: #999;
        font-size: 12px;

        >a {
            color: #999;
        }
    }
}

//错误信息提示
.error{
    color: #f04645 !important;
    display: block !important;
}
//点击边框变颜色
.change{
    box-shadow: 0 0 0 2px #{'rgb(255 92 0 / 20%)'};
    border:1px solid #ff5c00!important;
}
//字体改变
.font-change{
    font-size: 12px !important;
    top: 6px !important;
}
//为空的样式
.empty{
    color: #f04645 !important;
    background: #fcf2f3 !important;
}
